<h1>{$business->getName()}</h1>
<img
	src="{$smarty.const.WEBROOT}/lib/design/img/logo_{$business->getCode()}.png" width="140" height="140"
	alt="{$business->getName()} logo" class="right photo">

<p><strong>{$lang['rateScale']}</strong></p>
<form action="{$smarty.const.WEBROOT}/?action=save" method="POST"
	id="feedbackForm">
	<input type="hidden" id="code" name="code"
		value="{$business->getCode()}" />
	<input type="hidden" id="mobile" name="mobile"
		value="0" />
	<table style="padding-left:9px;width:570px;">
		<tr>
			<td width="150px">{$lang['score']}*</td>
			<script type="text/javascript" >
		    var numberMax = "{if $business->getCode() eq 'viktoria'}5{else}10{/if}";
			</script>
			<td><div id="star"></div> <script type="text/javascript">
					jQuery('#star').raty({
						number : numberMax,
						width: false,
						path : '{$smarty.const.WEBROOT}/lib/design/img',
						hints: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],			
					    iconRange: [
					    	{ range: 1, on: 'star-on-1-big.png', off: 'star-off-1-big.png' },
					        { range: 2, on: 'star-on-2-big.png', off: 'star-off-2-big.png' },
					        { range: 3, on: 'star-on-3-big.png', off: 'star-off-3-big.png' },
					        { range: 4, on: 'star-on-4-big.png', off: 'star-off-4-big.png' },
					        { range: 5, on: 'star-on-5-big.png', off: 'star-off-5-big.png' },
					        { range: 6, on: 'star-on-6-big.png', off: 'star-off-6-big.png' },
					        { range: 7, on: 'star-on-7-big.png', off: 'star-off-7-big.png' },
					        { range: 8, on: 'star-on-8-big.png', off: 'star-off-8-big.png' },
					        { range: 9, on: 'star-on-9-big.png', off: 'star-off-9-big.png' },
					        { range: 10, on: 'star-on-10-big.png', off: 'star-off-10-big.png'}
					    ]
					});
				</script></td>
		</tr>
		<tr>
			<td valign="top">{$lang['comment']}*</td>
			<td><textarea class="feedbackInput textareaHeight inputWidth" id="comment"
					name="comment"> </textarea></td>
		</tr>
		<tr>
			<td colspan="2">
				<p class="box" style="width: 470px">{$lang['getFeedback']}
				</div>
			</td>
		</tr>
		<tr>
			<td>{$lang['email']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="email"
				name="email" /></td>
		</tr>
		<tr>
			<td>{$lang['phone']}</td>
			<td><input type="text" class="feedbackInput inputHeight inputWidth" id="phone"
				name="phone" /></td>
		</tr>
	</table>
	<div class="clearfix"></div>
	<br>
	<p class="readmore">
		<a href="#" onclick="sendForm(jQuery('#feedbackForm'))">{$lang['doneBtn']}</a> »
	</p>
</form>
